package com.ld.collegetask.beans;

import android.app.Activity;
import android.content.Intent;
import android.view.View;

import com.ld.collegetask.OrderMemberInfoActivity;

/**
 * Created by yilan on 18/1/27.
 */

public class ClassListBean {
    private String texts;
    private Activity mActivity;

    public ClassListBean(Activity mActivity,String texts) {
        this.texts = texts;
        this.mActivity = mActivity;
    }

    //soloman
    public void click(View view) {
        Intent it = new Intent(mActivity, OrderMemberInfoActivity.class);
        it.putExtra("texts", texts);
        mActivity.setResult(1,it);
        mActivity.finish();
    }

    public String getTexts() {
        return texts;
    }

    public void setTexts(String texts) {
        this.texts = texts;
    }
}
